package 第二十章项目.clothesSystem.bean;

import java.io.Serializable;

public class OrderItem implements Serializable {
    private int itemID; //明细ID
    private Clothes clothes;    //商品
    private int shoppingNum;   //购买数量
    private float sum;          //购买金额

    @Override
    public String toString() {
        return "OrderItem{" +
                "itemID=" + itemID +
                ", clothes=" + clothes +
                ", shoppingNum=" + shoppingNum +
                ", sum=" + sum +
                '}';
    }

    public OrderItem() {
    }

    public int getItemID() {
        return itemID;
    }

    public void setItemID(int itemID) {
        this.itemID = itemID;
    }

    public Clothes getClothes() {
        return clothes;
    }

    public void setClothes(Clothes clothes) {
        this.clothes = clothes;
    }

    public int getShoppingNum() {
        return shoppingNum;
    }

    public void setShoppingNum(int shoppingNum) {
        this.shoppingNum = shoppingNum;
    }

    public float getSum() {
        return sum;
    }

    public void setSum(float sum) {
        this.sum = sum;
    }
}
